package com.chushouya.product.dto.admin.evaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("排除评估项目")
public class EvaluateItemIgnoreDTO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty(value = "类目id", required = true)
    @NotNull(message = "类目id不能为空")
    private Long categoryId;

    @ApiModelProperty(value = "品牌id")
    private Long brandId;

    @ApiModelProperty(value = "评估项目id", required = true)
    @NotNull(message = "评估项目id不能为空")
    private Long evaluateItemId;

    @ApiModelProperty(value = "评估项目选项id", required = true)
    @NotNull(message = "评估项目选项id不能为空")
    private Long evaluateValueId;

    @ApiModelProperty(value = "排除的评估项目id列表", required = true)
    @NotEmpty(message = "排除的评估项目id列表不能为空")
    private List<Long> ignoreEvaluateItemId;

}
